﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace WpfListingClientSociete
{
    class Client
    {
        private string cNom;
        public string Nom
        {
            get
            {
                return cNom;
            }
            set
            {
                
                /*if (char.IsDigit(e.KeyChar))
                    e.Handled=true;*/
                cNom = value;
            }
        }
        private string cPrenom;
        public string Prenom
        {
            get
            {
                return cPrenom;
            }
            set
            {
                cPrenom = value;
            }
        }
        public string NomComplet
        {
            get
            {
                return cNom + " " + cPrenom;
            }
        }
        private string cVille;
        public string Ville
        {
            get
            {
                return cVille;
            }
            set
            {
                cVille = value;
            }
        }
        private string cRue;
        public string Rue
        {
            get
            {
                return cRue;
            }
            set
            {
                cRue = value;
            }
        }
        private string cNum;
        public string Num
        {
            get
            {
                return cNum;
            }
            set
            {
                cNum = value;
            }
        }
        private string cCP;
        public string CP
        {
            get
            {
                return cCP;
            }
            set
            {
                cCP = value;
            }
        }
        private string cPays;
        public string Pays
        {
            get
            {
                return cPays;
            }
            set
            {
                cPays = value;
            }
        }
        private string cDateNaissance;
        public string DateNaissance
        {
            get
            {
                return cDateNaissance;
            }
            set
            {
                cDateNaissance = value;
            }
        }
        private string cGenre;
        public string Genre
        {
            get
            {
                return cGenre;
            }
            set
            {
                cGenre = value;
            }
        }
        private string cFixe;
        public string Fixe
        {
            get
            {
                return cFixe;
            }
            set
            {
                cFixe = value;
            }
        }
        private string cMobile;
        public string Mobile
        {
            get
            {
                return cMobile;
            }
            set
            {
                cMobile = value;
            }
        }
        private string cMail;
        public string Mail
        {
            get
            {
                return cMail;
            }
            set
            {
                cMail = value;
            }
        }
        private string cNTVA;
        public string NTVA
        {
            get
            {
                return cNTVA;
            }
            set
            {
                cNTVA = value;
            }
        }
        private int cNumClient;
        public int NumClient
        {
            get
            {
                return cNumClient;
            }
            set
            {
                cNumClient = value;
            }
        }

        public Client()
        {
        }

        public override string ToString()
        {
            return NomComplet;
        }

    }
}
